package com.project.bean;


import java.util.List;

/***
 * 频道实体类
 */
public class ChannelBean {
    /**编号*/
   private int id;
   /**频道名称*/
   private String name;
   /**频道描述*/
   private String info;
   /**主贴数量*/
   private int mainNumber;


    public ChannelBean() {
    }

    public ChannelBean(String name, String info, int mainNumber) {
        this.name = name;
        this.info = info;
        this.mainNumber = mainNumber;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getMainNumber() {
        return mainNumber;
    }

    public void setMainNumber(int mainNumber) {
        this.mainNumber = mainNumber;
    }

    @Override
    public String toString() {
        return "ChannelBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", info='" + info + '\'' +
                ", mainNumber=" + mainNumber +
                "}\n";
    }
}
